package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.PageResult;
import com.itheima.entity.Result;
import com.itheima.pojo.Spec;

public interface SpecService extends IService<Spec> {
    Result findAll();

    Result addSpec(Spec spec);

    Result findByPage(Integer currentPage, Integer pageSize);


    Result findById(Integer id);

    Result updateById(Integer id,Spec spec);

    Result deleteById(Integer id);
}
